Entry View Screen
fun EntryViewScreen(modifier: Modifier = Modifier, viewModel: JournalViewModel = hiltViewModel(), id: String? = null, openDrawer: () -> Unit, onNavigateBack: () -> Unit, onNavigateToEntryEdit: (String) -> Unit)
Composable, Displays the entry view screen, where users can see the details of a selected journal entry. It has options to navigate back to the journaling screen or edit the current entry.
Parameters
modifier
Modifier to be applied to the composable.
view Model
The ViewModel providing the UI state.
id
The ID of the JounralEntry
to view.
open Drawer
A lambda to open the navigation drawer.
on Navigate Back
A lambda to navigate back to the journaling screen.
on Navigate To Entry Edit
A lambda to navigate to the entry edit screen.